package com.kaili.basic.pojo.dto;

import com.kaili.common.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
public class WarehousingReturnQueryDto extends PageDto {
    @ApiModelProperty(name = "returnOdd", value = "退货单号")
    private String returnOdd;

    @ApiModelProperty(name = "requestCode", value = "入库申请单")
    private String requestCode;

    @ApiModelProperty(name = "productCode", value = "产品编号")
    private String productCode;

    @ApiModelProperty(name = "productName", value = "产品名称")
    private String productName;

    @ApiModelProperty(name = "supplierCode", value = "供应商编号")
    private String supplierCode;

    @ApiModelProperty(name = "supplierName", value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(name = "startTime", value = "开始日期 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(name = "endTime", value = "结束日期 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(name = "orderStatus", value = "订单状态 1 创建订单 2 订单确认 3 订单取消")
    private Integer orderStatus;
}
